home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 2.7 KB | 131 lines | [TEXT/MPS ] |
- /*
- File: HIStaticPanels.idl
-
- Contains: Interfaces for simple static visual panel classes
-
- Version: Technology: System 8.0
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1995-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
- */
-
-
- #ifndef __HISTATICPANELS_IDL__
- #define __HISTATICPANELS_IDL__
-
- #include <Fonts.idl>
-
- #include <HIPanels.idl>
- #include <HIStaticPanelTypes.idl>
-
-
- interface HIVisualSeparator : HIPanel
- {
- OSStatus InitVisualSeparator (in RefLabel identifier, in HIWindow window,
- in Rect bounds, in HIVisualSeparatorType separatorType);
-
- HIVisualSeparatorType GetSeparatorType ();
- void SetSeparatorType (in HIVisualSeparatorType separatorType);
-
- implementation
- {
-
- passthru C_h = "#include <HIStaticPanelTypes.h>";
-
- passthru C_xh = "#include <HIStaticPanelTypes.h>";
-
- releaseorder: InitVisualSeparator,
- GetSeparatorType,
- SetSeparatorType;
- };
- };
-
-
- interface HIStaticPanel : HIPanel
- {
- OSStatus InitStaticPanel( in RefLabel identifier,
- in HIWindow window,
- in Rect bounds);
-
- implementation
- {
-
- releaseorder: InitStaticPanel;
- };
- };
-
-
-
- interface HIPicture : HIStaticPanel
- {
- OSStatus InitPicture (in RefLabel identifier, in HIWindow window,
- in Rect bounds, in PicHandle picture);
-
- PicHandle GetPicture ();
- void SetPicture(in PicHandle picture);
-
- implementation {
-
- releaseorder: InitPicture,
- GetPicture,
- SetPicture;
- };
- };
-
-
- interface HIIcon : HIStaticPanel
- {
- OSStatus InitIcon (in RefLabel identifier, in HIWindow window, in Rect bounds,
- in Handle iconSuite);
-
- Handle GetIcon();
- void SetIcon(in Handle iconSuite);
-
- IconAlignmentType GetAlignment ();
- void SetAlignment (in IconAlignmentType alignment);
-
- IconTransformType GetTransform ();
- void SetTransform (in IconTransformType transform);
-
- implementation {
-
- releaseorder: InitIcon,
- GetIcon,
- SetIcon,
- GetAlignment,
- SetAlignment,
- GetTransform,
- SetTransform;
- };
- };
-
-
- interface HICaption : HIStaticPanel
- {
- OSStatus InitCaption(in RefLabel identifier, in HIWindow window, in Rect bounds,
- in TextObject text);
-
- void GetCaption(out TextObject caption);
- void SetCaption(in TextObject caption);
-
- OSStatus GetStrike(out TextStrikeRef theStrike);
- OSStatus SetStrike(in TextStrikeRef theStrike);
-
- implementation {
-
- releaseorder: InitCaption,
- GetCaption,
- SetCaption,
- GetStrike,
- SetStrike;
- };
- };
-
- #endif
-